import type { ITemplate } from '@/api/modules/esl/template';
import { QUERY_SCOPE } from '@/enum/system';
import { useQuery, useTable } from '@/hooks/table';

export const allowEditMenu = ref(false);

export const query = useQuery<ITemplate>({
  scope: QUERY_SCOPE.ALL,
});
export const table = useTable({
  rowKey: 'templateId',
  moduleName: 'template',
});
